/**
 * Created by hjqi on 2017/4/18.
 */
module.factory('logService', function ($http) {
    return {
        search : function(param){

            /**
             *  param is object
             *  {
             *      po       pod name
             *      st       start time
             *      ed       end time
             *      key      key word
             *  }
             *
             */

            return $http.post('/apiLog/getLog', param).then(function (response) {
                return response;
            });
        }
    };
});